package com.Nuyoah.demo01.service.serviceImpl;

import com.Nuyoah.demo01.entity.Rank;
import com.Nuyoah.demo01.mappers.RankMapper;
import com.Nuyoah.demo01.service.RankService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RankServiceImpl implements RankService {

    @Autowired
    private RankMapper rankMapper;

    //获取默认排名
    @Override
    public List<Rank> getRank() {
        return rankMapper.getRank();
    }
}
